package demo5;

import org.springframework.cache.annotation.CacheConfig;
import org.springframework.context.annotation.Bean;

@CacheConfig

public class Spring2 {
    @Bean
    public User user(){
       return new User();
    }

}
